Device and method for transposing matrix, and display device

ABSTRACT

The present disclosure relates to a matrix transposition device and method, and a display device. The matrix transposition device includes a first counting unit, an input module, second counting units, and a first data selection unit. The first counting unit numbers a matrix element and outputs a first signal. The input module is coupled to the first counting unit, and is input with the matrix element after receiving the first signal. Each column of matrix elements corresponds to one of the second counting units, each of the second counting units outputs a set of second signals, and each set of the second signals includes number information of the matrix elements in a column corresponding to the second counting unit. The first data selection unit receives the second signals in an order of columns of a matrix, and orderly outputs column elements of the matrix as row elements of a transposed matrix.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon International Application No.PCT/CN2019/107365, filed on Sep. 23, 2019, which is based upon andclaims priority to Chinese Patent Application No. 201811167839.9, filedon Oct. 8, 2018, where the entire contents thereof are incorporatedherein by reference.

TECHNICAL FIELD

The present disclosure relates to the field of computer technology and,in particular, to a matrix transposition device and method, and adisplay device.

BACKGROUND

In the process of algorithm development, there may be a large number ofmatrix operations, including a matrix transposition, a matrix inversion,a matrix multiplication, and the like. Among them, the matrixtransposition is one of the most basic operations.

Presently, the matrix transposition is usually carried out by means ofdual-port RAM or ROM, which performs a transposition operation on databy reading in and out an address. Such method has notable advantages forprocessing a large amount of data, but for a small amount of data, itconsumes too much logic resources and is not easily implemented as acircuit.

It should be noted that the information disclosed in the abovebackground section is only for enhancing the understanding of thebackground of the present disclosure and therefore, may includeinformation that does not constitute prior art known to those ofordinary skill in the art.

SUMMARY

The present disclosure is to a matrix transposition device and method,and a display device.

According to an aspect of the present disclosure, there is provided amatrix transposition device, including:

a first counting unit configured to number a matrix element and output afirst signal;

an input module coupled to the first counting unit, and being input withthe matrix element after receiving the first signal;

a plurality of second counting units, wherein each column of matrixelements corresponds to one of the second counting units, each of thesecond counting units outputs a set of second signals, and each set ofthe second signals comprises number information of the matrix elementsin a column corresponding to the second counting unit; and

a first data selection unit having an input end coupled to the inputmodule and a selection end coupled to the plurality of second countingunits, configured to receive the second signals in an order of columnsof a matrix, and orderly output column elements of the matrixcorresponding to each set of the second signals as row elements of atransposed matrix.

According to an embodiment of the present disclosure, the input moduleincludes:

a second data selection unit having a selection end coupled to the firstcounting unit and configured to receive the first signal and configuredto be input with the matrix element.

According to an embodiment of the present disclosure, the second dataselection unit includes:

a first multiplexer having a selection end coupled to the first countingunit and an input end to be input with the matrix element when receivingthe first signal;

an AND gate unit having one input end coupled to the counting device andanother input end to be input with a fixed value of 1; and

a second multiplexer having an input end coupled to an output end of thefirst multiplexer and a selection end coupled to an output end of theAND gate unit, and configured to stop outputting when the first countingunit is cleared.

According to an embodiment of the present disclosure, the input modulefurther includes:

a data memory configured to store the matrix elements as input, andhaving an output end coupled to the second data selection unit.

According to an embodiment of the present disclosure, the matrixtransposition device further includes:

a register having an input end coupled to the input module and an outputend coupled to the first data selection unit, and configured to storethe matrix elements as numbered.

According to an embodiment of the present disclosure, a number of thesecond counting units is the same as a number of the columns of thematrix, wherein each of the second counting units corresponds to onecolumn of the matrix elements.

According to an embodiment of the present disclosure, the secondcounting unit counts once every N−1 element intervals from a serialnumber of the column corresponding to the second counting unit, andoutputs one of the second signals, where N is a total number of thecolumns in the matrix, and the second signal comprises the serial numberof the matrix elements currently counted.

According to an embodiment of the present disclosure, the first dataselection unit receives the second signal and outputs the matrix elementcorresponding to the serial number of the matrix data in the secondsignal.

According to a second aspect of the present disclosure, there isprovided a matrix transposition method, including:

a first counting unit numbering a matrix element and outputting a firstsignal;

an input module receiving the first signal and being input with thematrix element;

each of a plurality of second counting units orderly outputting a set ofsecond signals in an order of columns of a matrix; and

a first data selection unit receiving a plurality sets of the secondsignals, and orderly outputting, according to the order of the columnsof the matrix, a column of the matrix elements corresponding to a serialnumber of the matrix elements in each set of the second signals as rowelements of a transposed matrix.

According to an embodiment of the present disclosure, the step of afirst counting unit numbering a matrix element and outputting a firstsignal includes:

the first counting unit counting and numbering the matrix element, andoutputting one of the first signals for each count.

According to an embodiment of the present disclosure, the step of aninput module receiving the first signal and being input with the matrixelement includes:

a first multiplexer receiving the first signal being input with thematrix element as numbered, and transmitting the matrix element asnumbered to a second multiplexer; and the second multiplexer outputtingthe matrix element as numbered, wherein after the first counting unit iscleared, a AND gate unit outputs 0 and the second multiplexer stopsoutputting.

According to a third aspect of the present disclosure, there is provideda display device, including the matrix transposition device provided bythe present disclosure.

It should be noted that the above general description and the followingdetailed description are merely exemplary and explanatory and should notbe construed as limiting of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings herein are incorporated into and constitute a part of thespecification, show embodiments consistent with the present disclosure,and are used to explain the principles of the present disclosuretogether with the specification. Understandably, the drawings in thefollowing description are only some embodiments of the presentdisclosure. Those of ordinary skill in the art may obtain other drawingsbased on these drawings without paying any creative labor.

FIG. 1 is a schematic diagram of a matrix transposition device providedby an exemplary embodiment of the present disclosure.

FIG. 2 is a schematic diagram of an input module provided by anexemplary embodiment of the present disclosure.

FIG. 3 is a schematic diagram of a second data selection unit providedby an exemplary embodiment of the present disclosure.

FIG. 4 is a schematic block diagram of an operating process of a matrixtransposition device provided by an exemplary embodiment of the presentdisclosure.

FIG. 5 is a flowchart of a matrix transposition method provided by anexemplary embodiment of the present disclosure.

DETAILED DESCRIPTION

Example embodiments will now be described more fully with reference tothe drawings. However, the example embodiments may be implemented invarious forms and should not be construed as being limited to theexamples set forth herein. Rather, embodiments are provided so that thepresent disclosure is comprehensive and complete, and fully conveys theconcept of the example embodiments to those skilled in the art. Samereference numerals in the drawings denote same or similar structures andthus, their detailed description will be omitted.

Furthermore, the described features, structures, or characteristics maybe combined in one or more embodiments in any suitable manner. In thefollowing description, many specific details are provided so that theembodiments of the present disclosure can be fully understood. However,those skilled in the art will realize that the technical solutions ofthe present disclosure may be practiced without one or more of thespecific details, or other methods, components, materials, devices,steps, etc. may be used. In other instances, well-known structures,methods, devices, implementations, materials, or operations have notbeen shown or described in detail to avoid obscuring aspects of thepresent disclosure.

The terms “a”, “an”, “the”, “said”, and “at least one” are used toindicate the presence of one or more elements/components/etc. The terms“include” and “have” are used to indicate an open-ended inclusion andthat there may be additional elements/component/etc. in addition to thelisted elements/components/etc.

First, as shown in FIG. 1, an example embodiment provides a matrixtransposition device that includes a first counting unit 100, an inputmodule 300, a plurality of second counting units 200, and a first dataselection unit 500.

The first counting unit 100 is configured to number a matrix element andoutput a first signal. The input module 300 is coupled to the firstcounting unit 100, and is input with the matrix element after receivingthe first signal. Each column of matrix elements corresponds to one ofthe second counting units 200, each of the second counting units 200outputs a set of second signals, and each set of the second signalsincludes number information of the matrix elements in a columncorresponding to the second counting unit 200. Also, the first dataselection unit 500 has an input end coupled to the input module 300 anda selection end coupled to the plurality of second counting units 200,which receives the second signals in an order of columns of a matrix,and orderly outputs column elements of the matrix corresponding to eachset of the second signals as row elements of a transposed matrix.

The matrix transposition device provided by the example embodimentnumbers the matrix element through the first counting unit 100 to outputthe first signal to control the input module 300 to be input with thematrix element, and respectively outputs, through a plurality ofcounting units, the second signals in the order of the columns of thematrix to control the first data selection unit 500 to output, accordingto the order of the columns of the matrix, the column element of thematrix as the row elements of the transposed matrix, so that thetransposition of the matrix is completed, which solves the problem inthe related art that since the matrix transposition is carried out bymeans of dual-port RAM or ROM or the like, for a small amount of data,it will consume too much logic resources and it is not easy to beimplemented as a circuit. In addition, the first counting unit 100, thesecond counting unit 200, the input module 300 and the first dataselection unit 500 belong to a same circuit, which avoids that in therelated art, a control signal and a data circuit do not belong to a samecircuit system, resulting in asynchronization of the control signal andthe data circuit, avoids the influence of external noise on the controlsignal and improves the accuracy and stability of the matrixtransposition. Further, the matrix transposition device has a simplecircuit implementation and thus is easy to be implemented by IC, maysave resources and development costs while ensuring data accurate, andmay effectively avoid interference of external noise.

In the process of the matrix transposition, the matrix element is firstcounted by the first counting unit 100. The first counting unit 100outputs an enable signal for each count. The data input unit receivesthe enable signal and is input with one datum. At this time, the matrixelement corresponds to the count value of the counter one by one, thatis, the numbering of the matrix elements is completed. The firstcounting unit 100 may be a counter, and the first data selection unit500 may be a multiplexer MUX.

The matrix elements may be input in an order of rows of the matrix, forexample, as for the following matrix 1:

$\begin{matrix}\begin{bmatrix}{D\; 1} & {D\; 2} & {D\; 3} \\{D\; 4} & {D\; 5} & {D\; 6} \\{D\; 7} & {D\; 8} & {D\; 9} \\{D\; 10} & {D\; 11} & {D\; 12}\end{bmatrix} & (1)\end{matrix}$

The matrix elements may be input in the order of D1, D2, D3, D4, D5, D6,D7, D8, D9, D10, D11, D12, and the result of numbering the matrixelements by the first counting unit 100 is shown in Table 1.

TABLE 1 Matrix Elements D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Serial 12 3 4 5 6 7 8 9 10 11 12 number

The second counting unit 200 outputs a second signal. The secondcounting unit 200 outputs one second signal for each count. For theplurality of second counting units 200, each of the second countingunits 200 corresponds to one column of the matrix elements, and when theplurality of second counting units 200 output the second signals, thesecond counting unit 200 corresponding to the column elements of eachcolumn of the matrix is sequentially selected according to the order ofthe columns of the matrix to output the second signal. The plurality ofsecond counting units 200 may be numbered, and the second signal outputby each of the numbered second counting units 200 corresponds to aserial number of one column of matrix elements. For example, thecorrespondence between the second counting units 200 and the matrixelements may be shown in FIG. 2.

TABLE 2 Second counting unit 1 2 3 Serial number of 1 

 4 

 7 

 10 2 

 5 

 8 

 11 3 

 6 

 9 

 12 matrix elements

The second counting unit 200 may be a counter, and the correspondencebetween the second signal and the numbering of the column elements ofthe matrix may be realized by interval counting of the counter. Thenumber of the second counting units 200 is the same as the number of thecolumns of the matrix. The counting interval of the second counting unit200 is determined by the number of the columns of the matrix elements.The counting interval is N−1, where N is the total number of the columnsof the matrix elements. The second counting unit 200 corresponding tothe nth column of the matrix counts from n with the counting intervalN−1. When the second counting unit 200 counts, it outputs the secondsignal to the first data selection unit 500, and the first dataselection unit 500 outputs the matrix element corresponding to theserial number according to the serial number of the matrix elementcarried in the second signal.

For example, for the above 3×4 matrix, the second counting unit 200corresponding to a first column counts from the matrix element with theserial number 1 with the counting interval 2, that is, the serialnumbers of the matrix elements counted by the second counting unit 200are 1, 4, 7, 10. When the second counting unit 200 counts, it outputsthe second signal, and the first data selection unit 500 outputs thematrix element corresponding to the serial numbers of the matrix elementcarried in the second signal of the second counting unit 200 accordingto the second signal, to output first column elements of the matrix as afirst row elements of a transposed matrix. The second counting unit 200corresponding to a third column counts from the matrix element with theserial number 3 with the counting interval 2, that is, the serialnumbers of the matrix elements counted by the second counting unit 200are 3, 6, 9, 12. When the second counting unit 200 counts, it outputsthe second signal, and the first data selection unit 500 outputs thematrix element corresponding to the serial numbers of the matrix elementcarried in the second signal of the second counting unit 200 accordingto the second signal, to output a third column elements of the matrix asthird row elements of the transposed matrix.

As shown in FIG. 2, the input module 300 may include a data memory 320and a second data selection unit 310. The data memory 320 is configuredto store the matrix element input, and has an output end coupled to thesecond data selection unit 310. The second data selection unit 310 has aselection end coupled to the first counting unit 310 and is configuredto receive the first signal and be input with the matrix element fromthe data memory 320. The second data selection unit 310 is input withthe matrix element according to the counting order of the first countingunit 100. The number of channels of the second data selection unit 310may be determined by the number of elements contained in the matrix, andthe number of the channels of the second data selection unit 310 may beequal to the number of the matrix elements. For example, for a 3×4matrix, the number of the channels of the second data selection unit 310may be 12. Of course, in practical applications, the number of thechannels of the second data selection unit 310 may also be greater thanthe total number of elements contained in the matrix. In order tofacilitate the transposition of a matrix with a larger number ofelements, or as a backup channel, the embodiment of the presentdisclosure is not specifically thereto.

FIG. 3 is a circuit diagram of a second data selection unit 310 providedby an embodiment of the present disclosure. As shown in FIG. 3, thesecond data selection unit 310 may include a first multiplexer 311, anAND gate unit 312, and a second multiplexer 313. The first multiplexer311 has a selection end coupled to the first counting unit 100 and aninput end to be input with the matrix element when receiving the firstsignal. The AND gate unit 312 has one input end coupled to the countingdevice and another input end to be input with a fixed value of 1. Thesecond multiplexer 313 has an input end coupled to an output end of thefirst multiplexer 311 and a selection end coupled to an output end ofthe AND gate unit 312, and is configured to stop outputting when thefirst counting unit 100 is cleared. Through this circuit, intermittentoperation of the matrix transposition device is realized, that is, thematrix transposition device operates when the first counting unit 100operates, and after the first counting unit 100 is cleared, the matrixtransposition device stops operating to reduce the power consumption ofthe matrix transposition circuit.

Further, the matrix transposition device provided by an embodiment ofthe present disclosure may further include a register 400, having aninput end coupled to the input module 300 and an output end coupled tothe first data selection unit 200, and configured to store the matrixelement as numbered.

The operating flow of the matrix transposition device provided by theembodiment of the present disclosure is shown in FIG. 4. The firstcounting unit 100 counts the matrix element, and controls the seconddata selection unit 310 to be input with the matrix element to completethe numbering of the matrix elements. The numbered matrix element isstored in the register 400, the second counting unit 200 performs aninterval counting on the numbered matrix elements, and the first dataselection unit 500 is controlled to output the matrix elements in antransposed order to obtain the transposed matrix.

An example embodiment further provides a matrix transposition method,which includes the following steps, as shown in FIG. 5.

In step S510, a first counting unit numbers a matrix element and outputsa first signal.

In step S520, an input module receives the first signal and is inputwith the matrix element.

In step S530, each of a plurality of second counting units orderlyoutputs a set of second signals in an order of columns of a matrix.

In step S540, a first data selection unit receives a plurality of setsof the second signals and orderly outputs, according to the order of thecolumns of the matrix, a column of the matrix elements corresponding toa serial number of the matrix elements in each set of the second signalsas row elements of a transposed matrix.

The matrix transposition method provided by the example embodimentnumbers the matrix element through the first counting unit 100 to outputthe first signal to control the input module 300 to be input with thematrix element, and respectively outputs, through a plurality ofcounting units, the second signals in the order of the columns of thematrix to control the first data selection unit 500 to output, accordingto the order of the columns of the matrix, the column elements of thematrix as the row elements of the transposed matrix, so that thetransposition of the matrix is completed, which solves the problem inthe related art that since the matrix transposition is carried out bymeans of dual-port RAM or ROM or the like, for a small amount of data,it will consume too much logic resources and it is not easy to beimplemented as a circuit. In addition, the first counting unit 100, thesecond counting unit 200, the input module 300 and the first dataselection unit 500 belong to a same circuit, which avoids that in therelated art, a control signal and a data circuit do not belong to a samecircuit system, resulting in asynchronization of the control signal andthe data circuit, avoids the influence of external noise on the controlsignal and improves the accuracy and stability of the matrixtransposition.

In step S510, the first counting unit numbers the matrix element andoutputs the first signal.

The first counting unit 100 counts the matrix element, and uses a countvalue of the counter as a serial number of the corresponding matrixelement. The first counting unit 100 outputs one first signal for eachcount. The first counting unit 100 sequentially numbers the matrixelements according to the row order of the matrix.

In step S520, the input module receives the first signal and is inputwith the matrix element.

The input module 300 may include a second data selection unit 310, andthe second data selection unit 310 includes a first multiplexer 311, anAND gate unit 312, and a second multiplexer 313.

The first multiplexer 311 receives the first signal, is input with thenumbered matrix elements, and transmits the numbered matrix element tothe second multiplexer 313. The second multiplexer 313 outputs thenumbered matrix element, and after the first counting unit 100 iscleared, the AND gate unit 312 outputs 0, and the second multiplexer 313stops outputting.

In step S530, each of the plurality of second counting units orderlyoutputs a set of second signals in the order of the columns of thematrix.

The number of the second counting unit 200 may be determined by thenumber of the columns of the matrix. The second signal is a signaloutput when the second counting unit 200 counts, which includes theserial number of the matrix element currently counted by the secondcounting unit 200. The plurality of second counting units 200sequentially output a set of second signals according to the order ofthe columns of the matrix. The second counting unit 200 counts withintervals, and the second counting unit 200 corresponding to the nthcolumn of the matrix counts from n with the counting interval N−1.

In step S540, the first data selection unit receives a plurality of setsof the second signals and orderly outputs, according to the order of thecolumns of the matrix, the column of the matrix elements correspondingto the serial numbers of the matrix elements in each set of the secondsignals as the row elements of the transposed matrix.

An input end of the first data selection unit 500 is coupled to theregister 400, the numbered matrix element in the register 400 is inputto the first data selection unit 500, the first data selection unit 500receives the second signal, and according to the serial number of thematrix element carried in the second signal, outputs the matrix elementcorresponding to the serial number. Since each set of second signalscarries the number information of the column of the matrix elements, thefirst data selection unit 500 can output the elements according to theset of second signals as row elements of the transposed matrix. Afterthe transposition, the row number of the column elements is the same asthe column number of the original matrix, and the transposition of thematrix is completed.

It should be noted that although the steps of the method in the presentdisclosure are described in a specific order in the drawings, this doesnot require or imply that the steps must be performed in the specificorder, or all the steps shown must be performed in order to achieve adesired result. Additionally or alternatively, some steps may beomitted, multiple steps may be combined into one step for execution,and/or one step may be decomposed into multiple steps for execution, andso on.

The present exemplary embodiment also provides a display device,including the matrix transposition device provided by the embodiment ofthe present disclosure. In practical applications, the display devicemay further include a display panel, a control circuit, etc. They areknown in the art, which will not be repeated in the embodiment of thepresent disclosure.

Those skilled in the art may conceive of other embodiments of thepresent disclosure after considering the description and practicing theinvention disclosed herein. This application is intended to cover anyvariations, uses, or adaptive changes of the present disclosure thatfollow the general principles of the present disclosure and include thecommon knowledge or customary technical means in the technical field notdisclosed in the present disclosure. The description and examples are tobe considered exemplary only, and the true scope and spirit of thepresent disclosure are pointed out by the appended claims.

It should be understood that the present disclosure is not limited tothe precise structure that has been described above and shown in thedrawings, and that various modifications and changes can be made withoutdeparting from the scope thereof. The scope of the present disclosure islimited only by the appended claims.

1. A matrix transposition device, comprising: a first counter configuredto number a matrix element and output a first signal; an input circuitcoupled to the first counter, and being input with the matrix element inresponse to receiving the first signal; a plurality of second counters,wherein each column of matrix elements corresponds to one of the secondcounters, each of the second counters outputs a set of second signals,and each set of the second signals comprises number information of thematrix elements in a column corresponding to a respective one of thesecond counters; and a first data selector having an input end coupledto the input circuit and a selection end coupled to the plurality ofsecond counters configured to receive the second signals in an order ofcolumns of a matrix, and orderly output column elements of the matrixcorresponding to each set of the second signals as row elements of atransposed matrix.
 2. The matrix transposition device according to claim1, wherein the input circuit further comprises: a second data selectorhaving a selection end coupled to the first counter and being configuredto receive the first signal and be input with the matrix element.
 3. Thematrix transposition device according to claim 2, wherein the seconddata selector comprises: a first multiplexer having a selection endcoupled to the first counter and an input end to be input with thematrix element when receiving the first signal; an AND gate unit havingone input end coupled to the first counter and another input end to beinput with a fixed value of 1; and a second multiplexer having an inputend coupled to an output end of the first multiplexer and a selectionend coupled to an output end of the AND gate unit, and being configuredto stop outputting when the first counter is cleared.
 4. The matrixtransposition device according to claim 2, wherein a number of channelsof the second data selector is greater than or equal to a total numberof matrix elements.
 5. The matrix transposition device according toclaim 2, wherein the input circuit further comprises: a data memoryconfigured to store the matrix element input, and having an output endcoupled to the second data selector.
 6. The matrix transposition deviceaccording to claim 1, further comprising: a register having an input endcoupled to the input module and an output end coupled to the first dataselector, and being configured to store the matrix element as numbered.7. The matrix transposition device according to claim 1, wherein anumber of the second counters is the same as a number of the columns ofthe matrix, wherein each of the second counters corresponds to onecolumn of the matrix elements.
 8. The matrix transposition deviceaccording to claim 7, wherein at least one of the second counters countsonce every N−1 element intervals from a serial number of the columncorresponding to the respective one of the second counters, and outputsone of the second signals, where N is a total number of the columns inthe matrix, and the second signal comprises the serial number of thematrix element currently counted.
 9. The matrix transposition deviceaccording to claim 8, wherein the first data selector receives thesecond signal and outputs the matrix element corresponding to the serialnumber of the matrix element in the second signal.
 10. A matrixtransposition method, comprising: numbering a matrix element andoutputting a first signal through a first counter; inputting the matrixelement to an input circuit in response to the input circuit receivingthe first signal; orderly outputting a set of second signals in an orderof columns of a matrix through each of a plurality of second counters;and receiving, by a first data selector, a plurality of sets of thesecond signals and orderly outputting, according to the order of thecolumns of the matrix, a column of the matrix elements corresponding toserial numbers of the matrix elements in each set of the second signalsas row elements of a transposed matrix.
 11. The matrix transpositionmethod according to claim 10, wherein numbering the matrix element andoutputting the first signal through the first counter further comprises:counting and numbering the matrix element, and outputting one of thefirst signals for each count through the first counter.
 12. The matrixtransposition method according to claim 10, wherein inputting the matrixelement to an input circuit in response to the input circuit receivingthe first signal further comprises: receiving, by a first multiplexer,the first signal, inputting the matrix element as numbered to the firstmultiplexer, and transmitting, by the first multiplexer, the matrixelement as numbered to a second multiplexer; and outputting, by thesecond multiplexer, the matrix element as numbered, wherein after thefirst counter is cleared, an AND gate unit outputs 0 and the secondmultiplexer stops outputting.
 13. A display device, comprising: a matrixtransposition device, wherein the matrix transposition device comprises:a first counter configured to number a matrix element and output a firstsignal; an input circuit coupled to the first counter, and being inputwith the matrix element in response to receiving the first signal; aplurality of second counters, wherein each column of matrix elementscorresponds to one of the second counters, each of the second countersoutputs a set of second signals, and each set of the second signalscomprises number information of the matrix elements in a columncorresponding to the second counter; and a first data selector having aninput end coupled to the input circuit and a selection end coupled tothe plurality of second counters, and being configured to receive thesecond signals in an order of columns of a matrix and orderly outputcolumn elements of the matrix corresponding to each set of the secondsignals as row elements of a transposed matrix.
 14. The display deviceaccording to claim 13, wherein the input circuit comprises: a seconddata selector having a selection end coupled to the first counter andbeing configured to receive the first signal and configured to be inputwith the matrix element.
 15. The display device according to claim 14,wherein the second data selector comprises: a first multiplexer having aselection end coupled to the first counter and an input end to be inputwith the matrix element when receiving the first signal; an AND gateunit having one input end coupled to the first counter and another inputend to be input with a fixed value of 1; and a second multiplexer havingan input end coupled to an output end of the first multiplexer and aselection end coupled to an output end of the AND gate unit, and beingconfigured to stop outputting when the first counter is cleared.
 16. Thedisplay device according to claim 14, wherein a number of channels ofthe second data selector is greater than or equal to a total number ofmatrix elements.
 17. The display device according to claim 13, whereinthe input circuit further comprises: a data memory configured to storethe matrix element input, and having an output end coupled to the seconddata selector.
 18. The display device according to claim 13, wherein thematrix transposition device further comprises: a register having aninput end coupled to the input circuit and an output end coupled to thefirst data selector, and being configured to store the matrix element asnumbered.
 19. The display device according to claim 13, wherein a numberof the second counters is the same as a number of the columns of thematrix, wherein each of the second counters corresponds to one column ofthe matrix elements.
 20. The display device according to claim 19,wherein the second counters count once every N−1 element intervals froma serial number of the column corresponding to the second counter, andoutput one of the second signals, where N is a total number of thecolumns in the matrix, and the second signal comprises the serial numberof the matrix element currently counted.